using System.Linq;
using Godot;

namespace Arcane.Source.Data
{
    public class CharacterData
    {
        public string name;
        public float baseHealth;
        public float healthGrow;

        public StringName startupUltra;
        public StringName[] startupRunes;
        public StringName[] startupItems;

        public CharacterData(CharacterRes res)
        {
            name = res.Name;
            baseHealth = res.BaseHealth;
            healthGrow = res.HealthGrow;

            startupUltra = res.StartupUltra;
            startupRunes = [.. res.StartupRunes];
            startupItems = [.. res.StartupItems];
        }
    }
}